package ma.jee.portailReservation.service.announce;

import ma.jee.portailReservation.persistence.announce.Announce;
import ma.jee.portailReservation.persistence.announce.Hotel;
import ma.jee.portailReservation.persistence.announce.Travel;
import ma.jee.portailReservation.persistence.reservation.Reservation;
import org.joda.time.DateTime;

import java.io.Serializable;
import java.util.Set;

/**
 * Created by IntelliJ IDEA.
 * User: soufiane
 * Date: 02/01/12
 * Time: 23:30
 * To change this template use File | Settings | File Templates.
 */
public class DisplayAnnounce implements Serializable {

    private Announce announce;

    public DisplayAnnounce(Announce announce) {
        this.announce = announce;
    }

    public long getIdAnnounce() {
        return announce.getIdAnnounce();
    }

    public void setIdAnnounce(long id) {
        this.announce.setIdAnnounce(id);
    }

    public String getTitleAnnounce() {
        return announce.getTitleAnnounce();
    }

    public void setTitleAnnounce(String titleAnnounce) {
        this.announce.setTitleAnnounce(titleAnnounce);
    }

    public DateTime getDateAnnounce() {
        return announce.getDateAnnounce();
    }

    public void setDateAnnounce(DateTime dateAnnounce) {
        this.announce.setDateAnnounce(dateAnnounce);
    }

    public int getMaxClient() {
        return announce.getMaxClient();
    }

    public void setMaxClient(int maxClient) {
        this.announce.setMaxClient(maxClient);
    }

    public float getPriceAnnounce() {
        return announce.getPriceAnnounce();
    }

    public void setPriceAnnounce(float priceAnnounce) {
        this.announce.setPriceAnnounce(priceAnnounce);
    }

    public String getDescriptionAnnounce() {
        return announce.getDescriptionAnnounce();
    }

    public void setDescriptionAnnounce(String descriptionAnnounce) {
        this.announce.setDescriptionAnnounce(descriptionAnnounce);
    }

    public Set<Reservation> getReservations() {
        return announce.getReservations();
    }

    public void setReservations(Set<Reservation> reservations) {
        this.announce.setReservations(reservations);
    }

    public Set<Hotel> getHotels() {
        return announce.getHotels();
    }

    public void setHotels(Set<Hotel> hotels) {
        this.announce.setHotels(hotels);
    }

    public Set<Travel> getTravels() {
        return announce.getTravels();
    }

    public void setTravels(Set<Travel> travels) {
        this.announce.setTravels(travels);
    }
}
